﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Whoever.Health.Business;
using Whoever.Health.Website.Models;

namespace Whoever.Health.Website.Controllers
{
    public class DocumentTypeController : Controller
    {
        //
        // GET: /DocumentType/

        public ActionResult Main()
        {
            var manager = new DocumentTypeManager();
            var model = new DocumentTypeViewModel();
            manager.FillSelectablesRelations(model);
            model.List = manager.GetAll();

            return View(model);
        }

        public void Guardar(DocumentTypeViewModel dc)
        { 
            
        }
    }
}
